package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HealthCheckExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HealthCheckExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNull() {
            addCriterion("check_time is null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNotNull() {
            addCriterion("check_time is not null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeEqualTo(String value) {
            addCriterion("check_time =", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotEqualTo(String value) {
            addCriterion("check_time <>", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThan(String value) {
            addCriterion("check_time >", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThanOrEqualTo(String value) {
            addCriterion("check_time >=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThan(String value) {
            addCriterion("check_time <", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThanOrEqualTo(String value) {
            addCriterion("check_time <=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLike(String value) {
            addCriterion("check_time like", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotLike(String value) {
            addCriterion("check_time not like", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIn(List<String> values) {
            addCriterion("check_time in", values, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotIn(List<String> values) {
            addCriterion("check_time not in", values, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeBetween(String value1, String value2) {
            addCriterion("check_time between", value1, value2, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotBetween(String value1, String value2) {
            addCriterion("check_time not between", value1, value2, "checkTime");
            return (Criteria) this;
        }

        public Criteria andMothCountIsNull() {
            addCriterion("moth_count is null");
            return (Criteria) this;
        }

        public Criteria andMothCountIsNotNull() {
            addCriterion("moth_count is not null");
            return (Criteria) this;
        }

        public Criteria andMothCountEqualTo(Integer value) {
            addCriterion("moth_count =", value, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountNotEqualTo(Integer value) {
            addCriterion("moth_count <>", value, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountGreaterThan(Integer value) {
            addCriterion("moth_count >", value, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("moth_count >=", value, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountLessThan(Integer value) {
            addCriterion("moth_count <", value, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountLessThanOrEqualTo(Integer value) {
            addCriterion("moth_count <=", value, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountIn(List<Integer> values) {
            addCriterion("moth_count in", values, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountNotIn(List<Integer> values) {
            addCriterion("moth_count not in", values, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountBetween(Integer value1, Integer value2) {
            addCriterion("moth_count between", value1, value2, "mothCount");
            return (Criteria) this;
        }

        public Criteria andMothCountNotBetween(Integer value1, Integer value2) {
            addCriterion("moth_count not between", value1, value2, "mothCount");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeIsNull() {
            addCriterion("end_check_time is null");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeIsNotNull() {
            addCriterion("end_check_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeEqualTo(String value) {
            addCriterion("end_check_time =", value, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeNotEqualTo(String value) {
            addCriterion("end_check_time <>", value, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeGreaterThan(String value) {
            addCriterion("end_check_time >", value, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeGreaterThanOrEqualTo(String value) {
            addCriterion("end_check_time >=", value, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeLessThan(String value) {
            addCriterion("end_check_time <", value, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeLessThanOrEqualTo(String value) {
            addCriterion("end_check_time <=", value, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeLike(String value) {
            addCriterion("end_check_time like", value, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeNotLike(String value) {
            addCriterion("end_check_time not like", value, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeIn(List<String> values) {
            addCriterion("end_check_time in", values, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeNotIn(List<String> values) {
            addCriterion("end_check_time not in", values, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeBetween(String value1, String value2) {
            addCriterion("end_check_time between", value1, value2, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andEndCheckTimeNotBetween(String value1, String value2) {
            addCriterion("end_check_time not between", value1, value2, "endCheckTime");
            return (Criteria) this;
        }

        public Criteria andCheckStatusIsNull() {
            addCriterion("check_status is null");
            return (Criteria) this;
        }

        public Criteria andCheckStatusIsNotNull() {
            addCriterion("check_status is not null");
            return (Criteria) this;
        }

        public Criteria andCheckStatusEqualTo(String value) {
            addCriterion("check_status =", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotEqualTo(String value) {
            addCriterion("check_status <>", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusGreaterThan(String value) {
            addCriterion("check_status >", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusGreaterThanOrEqualTo(String value) {
            addCriterion("check_status >=", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLessThan(String value) {
            addCriterion("check_status <", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLessThanOrEqualTo(String value) {
            addCriterion("check_status <=", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusLike(String value) {
            addCriterion("check_status like", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotLike(String value) {
            addCriterion("check_status not like", value, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusIn(List<String> values) {
            addCriterion("check_status in", values, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotIn(List<String> values) {
            addCriterion("check_status not in", values, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusBetween(String value1, String value2) {
            addCriterion("check_status between", value1, value2, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andCheckStatusNotBetween(String value1, String value2) {
            addCriterion("check_status not between", value1, value2, "checkStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIsNull() {
            addCriterion("task_status is null");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIsNotNull() {
            addCriterion("task_status is not null");
            return (Criteria) this;
        }

        public Criteria andTaskStatusEqualTo(String value) {
            addCriterion("task_status =", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotEqualTo(String value) {
            addCriterion("task_status <>", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusGreaterThan(String value) {
            addCriterion("task_status >", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusGreaterThanOrEqualTo(String value) {
            addCriterion("task_status >=", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusLessThan(String value) {
            addCriterion("task_status <", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusLessThanOrEqualTo(String value) {
            addCriterion("task_status <=", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusLike(String value) {
            addCriterion("task_status like", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotLike(String value) {
            addCriterion("task_status not like", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIn(List<String> values) {
            addCriterion("task_status in", values, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotIn(List<String> values) {
            addCriterion("task_status not in", values, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusBetween(String value1, String value2) {
            addCriterion("task_status between", value1, value2, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotBetween(String value1, String value2) {
            addCriterion("task_status not between", value1, value2, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andFirstCheckIsNull() {
            addCriterion("first_check is null");
            return (Criteria) this;
        }

        public Criteria andFirstCheckIsNotNull() {
            addCriterion("first_check is not null");
            return (Criteria) this;
        }

        public Criteria andFirstCheckEqualTo(String value) {
            addCriterion("first_check =", value, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckNotEqualTo(String value) {
            addCriterion("first_check <>", value, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckGreaterThan(String value) {
            addCriterion("first_check >", value, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckGreaterThanOrEqualTo(String value) {
            addCriterion("first_check >=", value, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckLessThan(String value) {
            addCriterion("first_check <", value, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckLessThanOrEqualTo(String value) {
            addCriterion("first_check <=", value, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckLike(String value) {
            addCriterion("first_check like", value, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckNotLike(String value) {
            addCriterion("first_check not like", value, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckIn(List<String> values) {
            addCriterion("first_check in", values, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckNotIn(List<String> values) {
            addCriterion("first_check not in", values, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckBetween(String value1, String value2) {
            addCriterion("first_check between", value1, value2, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andFirstCheckNotBetween(String value1, String value2) {
            addCriterion("first_check not between", value1, value2, "firstCheck");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdIsNull() {
            addCriterion("personnel_id is null");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdIsNotNull() {
            addCriterion("personnel_id is not null");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdEqualTo(String value) {
            addCriterion("personnel_id =", value, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdNotEqualTo(String value) {
            addCriterion("personnel_id <>", value, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdGreaterThan(String value) {
            addCriterion("personnel_id >", value, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdGreaterThanOrEqualTo(String value) {
            addCriterion("personnel_id >=", value, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdLessThan(String value) {
            addCriterion("personnel_id <", value, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdLessThanOrEqualTo(String value) {
            addCriterion("personnel_id <=", value, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdLike(String value) {
            addCriterion("personnel_id like", value, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdNotLike(String value) {
            addCriterion("personnel_id not like", value, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdIn(List<String> values) {
            addCriterion("personnel_id in", values, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdNotIn(List<String> values) {
            addCriterion("personnel_id not in", values, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdBetween(String value1, String value2) {
            addCriterion("personnel_id between", value1, value2, "personnelId");
            return (Criteria) this;
        }

        public Criteria andPersonnelIdNotBetween(String value1, String value2) {
            addCriterion("personnel_id not between", value1, value2, "personnelId");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionIsNull() {
            addCriterion("check_institution is null");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionIsNotNull() {
            addCriterion("check_institution is not null");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionEqualTo(String value) {
            addCriterion("check_institution =", value, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionNotEqualTo(String value) {
            addCriterion("check_institution <>", value, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionGreaterThan(String value) {
            addCriterion("check_institution >", value, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionGreaterThanOrEqualTo(String value) {
            addCriterion("check_institution >=", value, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionLessThan(String value) {
            addCriterion("check_institution <", value, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionLessThanOrEqualTo(String value) {
            addCriterion("check_institution <=", value, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionLike(String value) {
            addCriterion("check_institution like", value, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionNotLike(String value) {
            addCriterion("check_institution not like", value, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionIn(List<String> values) {
            addCriterion("check_institution in", values, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionNotIn(List<String> values) {
            addCriterion("check_institution not in", values, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionBetween(String value1, String value2) {
            addCriterion("check_institution between", value1, value2, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckInstitutionNotBetween(String value1, String value2) {
            addCriterion("check_institution not between", value1, value2, "checkInstitution");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdIsNull() {
            addCriterion("check_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdIsNotNull() {
            addCriterion("check_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdEqualTo(String value) {
            addCriterion("check_user_id =", value, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdNotEqualTo(String value) {
            addCriterion("check_user_id <>", value, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdGreaterThan(String value) {
            addCriterion("check_user_id >", value, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("check_user_id >=", value, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdLessThan(String value) {
            addCriterion("check_user_id <", value, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdLessThanOrEqualTo(String value) {
            addCriterion("check_user_id <=", value, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdLike(String value) {
            addCriterion("check_user_id like", value, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdNotLike(String value) {
            addCriterion("check_user_id not like", value, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdIn(List<String> values) {
            addCriterion("check_user_id in", values, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdNotIn(List<String> values) {
            addCriterion("check_user_id not in", values, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdBetween(String value1, String value2) {
            addCriterion("check_user_id between", value1, value2, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdNotBetween(String value1, String value2) {
            addCriterion("check_user_id not between", value1, value2, "checkUserId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}